/*
 * Doctor.java
 * Team qq 2011
 */
package com.google.code.timetrail.backend;

/**
 * The Doctor class creates a person who is himself healthier than others on the
 * trail and who can help ward off illness events as well as make it so that
 * people can heal faster
 * 
 * @author Anuraag
 * @version 1.0
 */
public class Doctor extends Person {
	/**
	 * the version ID of Doctor, CHANGE IT if control gets incompatibly changed
	 **/
	private static final long serialVersionUID = 4010L;

	/** Constant for Doctor's starting illness percent */
	private static final int DOC_ILL = 0;

	/** Constant for Doctors's starting death percent */
	private static final int DOC_DEATH = 0;

	/** Constant for Doctor's starting health percent */
	private static final int DOC_HEALTH = 100;

	/** Amount of skill the doctor has */
	private static final int DOC_SKILL = 60;
	
	/**
	 * Instantiates the Doctor's health bonuses
	 */
	public Doctor() {
		illness = DOC_ILL; // percentage
		death = DOC_DEATH; // percentage
		health = DOC_HEALTH; // percentage
	}

	/**
	 * Sets the doctor's skill values. The values are all 0, except for the
	 * immunity skill which becomes 60
	 */
	@Override
	public void intializeSkills() {
		final int[] skillSet = { 0, 0, 0, DOC_SKILL };
		super.setSkills(skillSet);
	}

	/**
	 * Returns a string representation of Doctor
	 * 
	 * @return Doctor's vital stats
	 */
	@Override
	public String toString() {
		return super.toString() + " is a Doctor";
	}
	/**
	 * to be implemented later
	 */
	/*
	 * public void heal(Person patient) { //TODO add how a Doctor would affect a
	 * patient }
	 */
}
